public class Date {
    public int year;
    public int month;
    public int day;

    public Date(int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
        System.out.println("Date(int,int,int)");
    }

    public Date(){
        this(2024,7,13);
        System.out.println("Date()");
    }

    public void setDate(int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
        System.out.println("Date(int,int,int)");
    }
    /*public void setDate(int y,int m,int d){
        this.year = y;
        this.month = m;
        this.day = d;
    }*/
    public void printDate(){
        System.out.println(this.year+"年"+this.month+"月"+this.day+"日");
    }
    public void show(){
        this.printDate();
    }
}
